package com.iris.live.services.vo;/**
 * Created by Tony.Zhang on 2017/3/13.
 */

import com.iris.live.services.common.EnumConstant;
import com.iris.live.services.data.models.顾客记录汇总Model;

/**
 * @Description:API返回客户对象
 * @author: Tony.Zhang
 * @Date: 2017-03-13 11:24
 **/
public class CustomerVO {
    private 顾客记录汇总Model model;

    public CustomerVO(顾客记录汇总Model model){
        this.model = model;
    }

    public Integer getCustomerId(){
        return model.get顾客编号();
    }

    public String getCustomerType(){
        return "客户";
    }

    public String getCustomerName(){
        return model.get顾客姓名();
    }

    public String getCustomerTel(){
        return model.get电话号码();
    }

    public String getSaleStatus(){
        return EnumConstant.CustomerSaleStatus.getValue(model.get新车销售状态());
    }
}
